home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / docs / twin.doc < prev    next >
Text File  |  1995-09-23  |  99KB  |  2,387 lines

  1.  
  2.             Twin Express                                       User's Guide
  3.  
  4.                                                           Twin Express 1.1 
  5.                                                               User's Guide 
  6.  
  7.         Copyright 1991 OMNICODE. All rights reserved.
  8.             Twin Express                                       User's Guide
  9.  
  10.  
  11.  
  12.                                             
  13.             
  14.             
  15.             Copyright:  This  document  and  its  accompanying software are
  16.             copyrighted  by  OMNICODE  (Montréal, CANADA) which retains all
  17.             rights  of  ownership  and  copyright.  Registered  users  have
  18.             specific  rights as stated in the license agreement. Others may
  19.             only  distribute  the  complete  package  as  described  in the
  20.             distribution statement.
  21.             
  22.             Disclaimer:  The  software, the documentation and all the files
  23.             included  in  the  package  are  provided without any warranty.
  24.             Moreover,  OMNICODE  does  not guarantee that the software, the
  25.             documentation  and  the files are accurate, reliable or fit any
  26.             particular  task. The users of this software package accept all
  27.             risks   related   to  its  use.  OMNICODE  shall  not  be  held
  28.             responsible  for any damage, costs or loss arising from the use
  29.             of this software package.
  30.             
  31.             Trademarks:  IBM,  IBM  AT,  IBM  PS/2,  PC-DOS  and  OS/2  are
  32.             registered   trademarks   of  International  Business  Machines
  33.             Corporation.  IBM PC and IBM XT are trademarks of International
  34.             Business   Machines   Corporation.   MS-DOS   is  a  registered
  35.             trademark  of  Microsoft Corporation. Windows is a trademark of
  36.             Microsoft  Corporation.  Amiga  is  a  registered  trademark of
  37.             Commodore-Amiga   Inc.   AmigaDOS   and   Amiga  Workbench  are
  38.             trademarks   of  Commodore-Amiga  Inc.  Unix  is  a  registered
  39.             trademark of AT&T Bell Laboratories.
  40.             
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                      II
  69.             Twin Express                                       User's Guide
  70.  
  71.  
  72.  
  73.             
  74.                                    TABLE OF CONTENTS
  75.             
  76.             
  77.         INTRODUCTION................................................ IV
  78.             1 GETTING STARTED...........................................  1
  79.           1.1  Summary of Features..................................  1
  80.           1.2  Installation on the Amiga Computer...................  2
  81.           1.3  Installation on the IBM-PC Computer..................  3
  82.           1.4  The Serial Cable.....................................  4
  83.           1.5  Running Twin Express.................................  5
  84.           1.6  Of Ports and Baud Rates..............................  6
  85.           1.7  Startup Problems.....................................  6
  86.           1.8  Registration.........................................  8
  87.           1.9  Support..............................................  9
  88.         2 TUTORIAL.................................................. 10
  89.           2.1  Vocabulary........................................... 10
  90.           2.2  Purpose of a File Transfer Program................... 10
  91.           2.3  Commands and Aliases................................. 11
  92.           2.4  Local Versus Remote Resources........................ 11
  93.           2.5  Transferring Files with the COPY Command............. 12
  94.           2.6  Syntax of File and Directory Names................... 13
  95.           2.7  File Groups and Wildcards............................ 15
  96.           2.8  Moving Text Files to a Different Type of Computer.... 16
  97.           2.9  Enabling Fast Transfers.............................. 17
  98.           2.10 Input from a Command File............................ 18
  99.         3 COMMANDS.................................................. 19
  100.           3.1  CHDIR................................................ 19
  101.           3.2  COPY................................................. 20
  102.           3.3  DELETE............................................... 21
  103.           3.4  DIR.................................................. 21
  104.           3.5  ECHO................................................. 23
  105.           3.6  HELP................................................. 23
  106.           3.7  MKDIR................................................ 24
  107.           3.8  QUIT................................................. 24
  108.           3.9  RENAME............................................... 24
  109.           3.10 RMDIR................................................ 25
  110.           3.11 SET.................................................. 26
  111.           3.12 SHOW................................................. 26
  112.           3.13 TREE................................................. 27
  113.           3.14 TYPE................................................. 28
  114.         APPENDIX A: Error Messages.................................. A1
  115.         APPENDIX B: License Agreement............................... B1
  116.         APPENDIX C: Distribution Statement.......................... C1
  117.         APPENDIX D: Problem Report Form............................. D1
  118.         APPENDIX E: Registration and Order Form..................... E1
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                     III
  130.             Twin Express                                       User's Guide
  131.  
  132.  
  133.  
  134.             
  135.                                       INTRODUCTION
  136.             
  137.             
  138.                     Twin  Express  is a file transfer program that allows a
  139.             user  to  quickly  transfer  files  between two computers via a
  140.             cable  connected  to  their  serial  ports. It is an attractive
  141.             solution  to  the  problem  of  transferring data to a computer
  142.             equipped  with  a  different  type  of  floppy  drive  or  to a
  143.             floppyless  workstation.  It is also an inexpensive alternative
  144.             to  those  time-consuming  exchanges  of  floppy disks and slow
  145.             communication programs.
  146.             
  147.                     Speed  is  its  main  feature.  Between  two  12.5  MHz
  148.             AT-type  computers or two Amiga 3000 computers you can transfer
  149.             data  at about 22,000 bytes/second. This is 2 times faster than
  150.             many  other  serial  file transfer utilities and 7 times faster
  151.             than utilities relying on the serial handler of AmigaDos.
  152.             
  153.                     Its  second  main  feature  is  its ability to exchange
  154.             files  between  different  types  of  computers (e.g. Amiga and
  155.             IBM-PC).  In  this  case,  it  may  even translate some special
  156.             characters  (e.g.  ±,  £, ½, ß, é, â, ï, ñ) in your text files.
  157.             As  of  December  1991,  the  program  runs  under AmigaDOS and
  158.             PC-DOS  (or MS-DOS). It can also execute as a DOS process under
  159.             Windows and OS/2.
  160.             
  161.                     Twin  Express  is  a  shareware  program.  That  is,  a
  162.             program  that  you  can  try before you actually pay for it. As
  163.             such,  you  can copy it, distribute it or store it in a library
  164.             as  long  as  the  package  is  not  modified, not sold and not
  165.             linked  to  any  salable  item.  However,  if  you  install the
  166.             program  on  a  computer  and  decide  to use it after the free
  167.             one-week  evaluation  period  you  must purchase a license from
  168.             OMNICODE.  In  return you become a registered user and are thus
  169.             entitled  to a manual, a diskette containing the latest version
  170.             of  Twin  Express,  an  invoice  (as  proof  of  purchase)  and
  171.             customer support in case of problems.
  172.             
  173.                    This   manual   describes   the  features,  installation
  174.             procedures  and  commands  of  Twin  Express.  The  tutorial in
  175.             chapter  2  shows some basic examples of Twin Express commands.
  176.             However,  if  you  just  cannot  wait  to get your hands on the
  177.             keyboard   you   may  want  to  proceed  with  the  information
  178.             available through the on-line HELP command.
  179.             
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.                                      IV
  191.             Twin Express                                       User's Guide
  192.  
  193.  
  194.  
  195.             
  196.                                     GETTING STARTED
  197.             
  198.             
  199.                     This  chapter  describes the features, the installation
  200.             and  the  start-up  procedures  for Twin Express. Typical error
  201.             messages  plus  suggestions for solutions are outlined in order
  202.             to  help  you  establish  communications between the computers.
  203.             Registration and support sections terminate the chapter.
  204.             
  205.             1.1 SUMMARY OF FEATURES
  206.             
  207.                     This  section highlights the most important features of
  208.             Twin Express:
  209.             
  210.               1.  Fast  serial transfers: about 22,000 bytes/second between
  211.                   two  12.5  MHz  AT-type  computers or two Amiga computers
  212.                   (ram disk to remote ram disk transfers).
  213.             
  214.               2.  Compatible versions run under AmigaDOS and PC-DOS.
  215.             
  216.               3.  Translation  of text files when they are transferred to a
  217.                   different  type of computer (useful for transfers between
  218.                   Amiga and IBM-PC computers).
  219.             
  220.               4.  Simple,  easy  to  use  commands similar to those used by
  221.                   your operating system (e.g. DIR, COPY, RENAME, etc).
  222.             
  223.               5.  Command  name  aliases  compatible  with AmigaDOS, PC-DOS
  224.                   and UNIX commands (e.g. MAKEDIR, XCOPY, LS).
  225.             
  226.               6.  Support  for wildcard characters allowing users to select
  227.                   a  group  of  files  with a single command. The operation
  228.                   can    be    extended   to   include   files   found   in
  229.                   subdirectories.
  230.             
  231.               7.  User   may  list  directory  files,  change  the  default
  232.                   directories and create or remove directories.
  233.             
  234.               8.  Copies  of  files get the same date stamp as the original
  235.                   files.
  236.             
  237.               9.  On-line help.
  238.             
  239.               10. Support for command files (batch files).
  240.             
  241.               11. Transmission   errors  are  detected  and  corrected  (by
  242.                   retransmission of bad packets).
  243.             
  244.               12. Support  for ports COM1, COM2, COM3 or COM4 on the IBM-PC
  245.                   or compatible computers.
  246.             
  247.               13. Support  for  baud  rates  up  to  115200  on  IBM-PC  or
  248.                   compatible computers and 290000 on Amiga computers.
  249.  
  250.  
  251.                                       1
  252.             Twin Express                                       User's Guide
  253.  
  254.  
  255.  
  256.             
  257.               14. Detection  of  busy ports, incompatible baud rates and of
  258.                   non-present,   non-standard   or  malfunctionning  serial
  259.                   ports.
  260.             
  261.               15. Distributed  as  a  shareware  program:  "you  can try it
  262.                   before you buy it".
  263.             
  264.             1.2 INSTALLATION ON THE AMIGA COMPUTER
  265.             
  266.             Requirements:
  267.             
  268.               1. AmigaDOS 1.2 or higher.
  269.               2. 75K of disk space.
  270.               3. 150K of free memory.
  271.               4. A null-modem cable.
  272.               5. A free serial port (SER: is mandatory).
  273.             
  274.             Distribution files:
  275.             
  276.               1. INSTALL
  277.               2. INSTALL.INFO
  278.               3. README
  279.               4. README.INFO
  280.               5. TWIN
  281.               6. TWIN.INFO
  282.               7. TWINDOC
  283.               8. TWINDOC.INFO
  284.             
  285.             Installation:
  286.             
  287.               1. If  your are using your Amiga with Workbench, activate the
  288.                  CLI task by clicking the appropriate icon.
  289.             
  290.               2. Set  the default directory to the directory containing the
  291.                  Twin  Express  package. The following example assumes this
  292.                  to be the root directory on floppy disk DF0:
  293.             
  294.                    CD  DF0:
  295.             
  296.               3. Examine file README for any last-minute changes:
  297.             
  298.                    TYPE  README
  299.             
  300.               4. Copy  the  file  TWIN to a directory whose name appears in
  301.                  the  search  path of AmigaDos (e.g. utilities, c, system).
  302.                  This  way  you can run Twin Express from any directory and
  303.                  AmigaDos  will  find  it.  You can use the PATH command to
  304.                  display  the  current  search  path. The following example
  305.                  assumes  that  the  UTILITIES  directory on disk DH0 is in
  306.                  the search path:
  307.             
  308.                    PATH
  309.                    COPY  TWIN  DH0:UTILITIES
  310.  
  311.  
  312.                                       2
  313.             Twin Express                                       User's Guide
  314.  
  315.  
  316.  
  317.                    COPY  TWIN.INFO  DH0:UTILITIES
  318.             
  319.               5. Print the documentation file TWINDOC:
  320.             
  321.                    COPY  TWINDOC  PRT:
  322.             
  323.               6. Connect  one  end  of  a  null-modem cable to the standard
  324.                  serial  port  "SER:"  on  the Amiga and the other end to a
  325.                  serial  port  on  the remote computer. See section 1.4 for
  326.                  details about the serial cable.
  327.             
  328.               7. You  have  one  week  to  evaluate the program. After this
  329.                  period  you  must  either  remove  the  program  from your
  330.                  system or register your copy.
  331.             
  332.             1.3 INSTALLATION ON THE IBM-PC COMPUTER
  333.             
  334.             Requirements:
  335.             
  336.               1. PC-DOS (MS-DOS) 2.0 or higher.
  337.               2. 75K of disk space.
  338.               3. 150K of free memory.
  339.               4. A null-modem cable.
  340.               5. A free serial port (COM1, COM2, COM3 or COM4) with a ...
  341.                    a) standard address (3F8h, 2F8h, 3E8h or 2E8h).
  342.                    b) compatible UART chip (8250, 82050, 16450).
  343.                    c) standard UART clock of 1.8432 MHz.
  344.             
  345.             Distribution:
  346.             
  347.               1. INSTALL.TXT
  348.               2. README.TXT
  349.               3. TWIN.EXE
  350.               4. TWINDOC.TXT
  351.             
  352.             Installation:
  353.             
  354.               1. If  your are using your IBM-PC with Windows or OS/2, acti-
  355.                  vate  the  DOS  environment  by  clicking  the appropriate
  356.                  icon.
  357.             
  358.               2. Set  the default directory to the directory containing the
  359.                  Twin  Express  package. The following example assumes this
  360.                  to be the root directory on floppy disk A:
  361.             
  362.                    A:
  363.                    CD  \
  364.             
  365.               3. Examine file README.TXT for any last-minute changes:
  366.             
  367.                    TYPE  README.TXT
  368.             
  369.               4. Copy  the  file TWIN.EXE to a directory whose name appears
  370.                  in  the  search  path  of DOS (e.g. DOS, c, bin). This way
  371.  
  372.  
  373.                                       3
  374.             Twin Express                                       User's Guide
  375.  
  376.  
  377.  
  378.                  you  can  run Twin Express from any directory and DOS will
  379.                  find  it.  You  can  use  the  PATH command to display the
  380.                  current  search  path.  The following example assumes that
  381.                  the DOS directory on disk C is in the search path:
  382.             
  383.                    PATH
  384.                    COPY  TWIN.EXE  C:\DOS
  385.             
  386.               5. Print the documentation file TWINDOC.TXT:
  387.             
  388.                   PRINT  TWINDOC.TXT
  389.             
  390.               6. Connect  one  end  of  a null-modem cable to a serial port
  391.                  (COM1  is used by default) on the IBM-PC and the other end
  392.                  to  a  serial port on the remote computer. See section 1.4
  393.                  for details about the serial cable.
  394.             
  395.               7. You  have  one  week  to  evaluate the program. After this
  396.                  period  you  must  either  remove  the  program  from your
  397.                  system or register your copy.
  398.             
  399.             1.4 THE SERIAL CABLE
  400.             
  401.                     A  null-modem  cable  connects  the  computers by their
  402.             serial  ports.  Such  a cable can be bought in a computer store
  403.             or  can  be  made  from an eight-wire cable and two connectors.
  404.             The  table  below  shows  how  the  different signals are wired
  405.             along   with   the  pinout  in  use  with  different  types  of
  406.             connectors (9 and 25 pins):
  407.             
  408.               ------ CONNECTOR 1 -----        ----- CONNECTOR 2 ------
  409.                 DB25     DB9    SIGNAL        SIGNAL    DB9     DB25
  410.             
  411.                  07       05       GND  <---> GND       05       07
  412.                  02       03        TD  <---> RD        02       03
  413.                  03       02        RD  <---> TD        03       02
  414.                  05       08       CTS  <---> RTS       07       04
  415.                  04       07       RTS  <---> CTS       08       05
  416.                  06       06       DSR  <---> DTR       04       20
  417.                  20       04       DTR  <---> DSR       06       06
  418.             
  419.             Usually  the serial port has a male connector. The cable should
  420.             therefore  have  two female connectors. However, it is safer to
  421.             verify this before you buy a cable...
  422.             
  423.                     There  are  some  null-modem  cables with only 3 wires.
  424.             These  cables  can  also be used with Twin Express. However, it
  425.             is  not  possible  to  select  the high speed transmission mode
  426.             with  such  cables.  There  are  also  null-modem cables with a
  427.             wiring  pattern  different  from  that in the above table. Twin
  428.             Express  is  likely  to  "see"  them  as  3-wire cables. So, be
  429.             careful  before buying a pre-wired cable and compare the wiring
  430.             with the above table.
  431.             
  432.  
  433.  
  434.                                       4
  435.             Twin Express                                       User's Guide
  436.  
  437.  
  438.  
  439.                     You  can also transform a modem cable into a null-modem
  440.             cable  with  a  null-modem  adapter.  You  can  get  an MF-DB25
  441.             adapter  (part  26-1496) or an MF-DB9 adapter (part 26-264) for
  442.             about  8  CAN$  from  Radio  Shack.  This might be a convenient
  443.             solution  if  your  cable  has the proper connectors (usually a
  444.             female connector at each end).
  445.             
  446.             WARNING 1: Do   not   use  a  cable  with  more  than  these  7
  447.                        connections  (extra  wires  should be disconnected).
  448.                        This  is very important on the AMIGA computers since
  449.                        they have a non-standard serial connector.
  450.             
  451.             WARNING 2: Cables  longer  than  20  meters should be used with
  452.                        caution.  You  might need to reduce the baud rate or
  453.                        use a more expensive low capacitance cable.
  454.             
  455.             WARNING 3: Avoid  putting the cable near appliances. This could
  456.                        add  noise to the signals. If this cannot be avoided
  457.                        you  might consider buying a more expensive shielded
  458.                        cable.
  459.             
  460.             1.5 RUNNING TWIN EXPRESS
  461.             
  462.                     You  can  start  up  the  program by typing TWIN at the
  463.             system prompt of the computer:
  464.             
  465.               C> TWIN <enter>
  466.             
  467.             The  program  should  now  display  its version number, a short
  468.             message about the help facility and the TWIN prompt:
  469.             
  470.              TWIN EXPRESS - Version 1.1 released on 1991/12/20 (shareware)
  471.              ~~~~~~~~~~~~   Copyright 1991 OMNICODE. All rights reserved.
  472.             
  473.              HELP:
  474.             
  475.                ... Some information on HELP ...
  476.             
  477.              TWIN>
  478.             
  479.             At  this  point,  Twin  Express  waits  for the user to type in
  480.             commands or to receive a request from the remote computer.
  481.             
  482.                     If  Twin Express is also running on the remote computer
  483.             and  a  cable is connected to the default ports (COM1 on the PC
  484.             and  SER  on the Amiga) you should get the following message on
  485.             both screens:
  486.             
  487.              >>> Communication is established with the remote computer <<<
  488.             
  489.             This  message indicates that you are ready to transfer files to
  490.             the  remote  computer.  If  it does not appear see sections 1.6
  491.             and 1.7 for help.
  492.             
  493.  
  494.  
  495.                                       5
  496.             Twin Express                                       User's Guide
  497.  
  498.  
  499.  
  500.             1.6 OF PORTS AND BAUD RATES
  501.             
  502.                     By  default,  Twin  Express uses port COM1 on an IBM PC
  503.             and  SER  on  an  Amiga. In both cases the default baud rate is
  504.             115200.
  505.             
  506.                     It  is  possible  to  use  baud  rates  other  than the
  507.             default  value  and, on IBM compatible computers, to use a port
  508.             other  than  COM1.  Ports COM1, COM2, COM3 and COM4 can be used
  509.             on  the  IBM  PC or compatible systems. Only SER can be used on
  510.             the Amiga.
  511.             
  512.                     The  baud rates available on both machines are: 115200,
  513.             57600,  38400,  19200  and 9600. The Amiga version also accepts
  514.             the  following  baud  rates:  130000,  150000,  170000, 190000,
  515.             210000,   230000,   250000,   270000   and  290000  (190000  is
  516.             recommended).
  517.             
  518.                     To   change  a default value, the user must supply both
  519.             the  port and the baud rate as parameters to TWIN. For example,
  520.             to  communicate  at  57600  baud  using  port  COM2  on the IBM
  521.             compatible:
  522.             
  523.               C> TWIN  COM2  57600
  524.             
  525.             whilst the command for the Amiga is:
  526.             
  527.               1> TWIN  SER  57600
  528.             
  529.             1.7 STARTUP PROBLEMS
  530.             
  531.                     This  section  highlights the most common problems that
  532.             a  user  might  encounter  in  establishing  communication.  It
  533.             presents  error messages along with suggestions for solving the
  534.             problem. More general errors are discussed in appendix A.
  535.             
  536.             >>> Communication is established with the remote computer <<<
  537.             does not appear on the screen of computers.
  538.             
  539.               First,  verify  that  the  cable  is  connected to the serial
  540.               ports  on both computers. Second, make sure that Twin Express
  541.               has  been activated on both machines with the proper port and
  542.               baud   rate.   Third,  check  the  programs  running  in  the
  543.               background.  Some  of them might "steal" too many CPU cycles.
  544.               Fourth,  examine  the  cable.  Is  it  a null-modem cable? Is
  545.               there a bad connection (connectors, wires, etc)?
  546.             
  547.             Error: Unrecognized device
  548.             
  549.               An  invalid  serial  device  has  been used as a parameter to
  550.               Twin  Express.  Re-execute  the program with one of the valid
  551.               devices specified in section 1.6.
  552.             
  553.             Error: Unrecognized speed
  554.  
  555.  
  556.                                       6
  557.             Twin Express                                       User's Guide
  558.  
  559.  
  560.  
  561.             
  562.               An  invalid  baud  rate  has been specified as a parameter to
  563.               Twin  Express.  Note that you must also specify a device when
  564.               you  indicate a baud rate. Re-execute the program with one of
  565.               the valid baud rates specified in section 1.6.
  566.             
  567.             Error: Cannot get pathname of current default directory
  568.             Error: Cannot establish an abort receiver
  569.             
  570.               These  are  internal  errors.  They  should not occur. Please
  571.               contact  OMNICODE  (fill  in and mail the problem report form
  572.               in appendix D).
  573.             
  574.             Error: This protocol cannot be used with a 3-wire cable
  575.             
  576.               This  error  may  occur  when  a  user selects the high speed
  577.               transmission  mode  with  the  SET  MODE  command.  This mode
  578.               requires  a  7-wire  cable  as defined in section 1.4. First,
  579.               check  your  cable.  Second,  use only the STANDARD mode with
  580.               3-wire cables.
  581.             
  582.             Error: Mode EXPRESS failed to initialize properly
  583.             
  584.               This  error  may  occur  when  a  user selects the high speed
  585.               transmission  mode  with  the  SET MODE command. It indicates
  586.               that  transfers would not be reliable using this mode. It may
  587.               occur  on  some  computers,  especially  with long cables. In
  588.               this case you must use the default STANDARD mode.
  589.             
  590.             >>> Non-present or non-standard device <<<
  591.             
  592.               The  selected  serial port was not found in the system or, if
  593.               found,  it  does not appear to be a serial device. This error
  594.               may  occur if the user selects a device that is not installed
  595.               (e.g.  COM4), if a serial device has been installed at a non-
  596.               standard  address  (e.g. COM1 address different from 3F8h) or
  597.               if  a  different  type  of  hardware has been installed at an
  598.               address  normally  assigned to a serial device. First, try to
  599.               execute  Twin  Express  with  a different device (e.g. COM2).
  600.               Second,  check the address of your serial port and compare it
  601.               with the addresses defined in section 1.3.
  602.             
  603.             >>> Malfunctionning serial device <<<
  604.             
  605.               The  serial  device does not appear to work correctly. First,
  606.               verify  that  your serial port works with a different type of
  607.               software.  Second,  compare the type of the UART chip of your
  608.               serial port with those listed in the installation section.
  609.             
  610.             >>> Selected serial device appears to be busy <<<
  611.             
  612.               The  serial  port seems to be connected to an external device
  613.               (e.g.  modem,  printer). This error is likely to occur if you
  614.               execute  Twin  Express with the default port and this port is
  615.  
  616.  
  617.                                       7
  618.             Twin Express                                       User's Guide
  619.  
  620.  
  621.  
  622.               connected  to a device. It may also occur if you disconnected
  623.               an  external  device  from  a serial port in order to connect
  624.               the  null-modem  cable.  First,  make  sure  to  execute Twin
  625.               Express  with  the  appropriate  serial  port. Second, if the
  626.               message   appears  only  on  one  computer,  re-execute  Twin
  627.               Express  on  this  computer otherwise you will need to reboot
  628.               both systems.
  629.             
  630.             >>> Local computer is too slow for current baud rate <<<
  631.             >>> Remote computer is too slow for current baud rate <<<
  632.             
  633.               These  messages  indicate  that a computer is not fast enough
  634.               to  communicate at the current baud rate. It may occur if you
  635.               try  to  execute  Twin  Express  on  an  Amiga  500/1000/2000
  636.               computer  with  a baud rate exceeding 190000 or on a 4.77 MHz
  637.               PC-type  computer  with a baud rate of 115200. Try again with
  638.               a lower baud rate.
  639.             
  640.             >>> Remote computer appears to use a different baud rate <<<
  641.             
  642.               This  message  is  displayed  when  a  computer receives many
  643.               unrecognized  characters  from  the  serial  port. It usually
  644.               occurs  when  the  program is activated with a different baud
  645.               rate  on  each  computer.  Note  that  this  error is usually
  646.               displayed  on  the  screen of the computer having the fastest
  647.               baud  rate.  It  may  also  occur if you use a high baud rate
  648.               (e.g.  290000)  with a long cable or if your serial port does
  649.               not  use  a  standard  clock  rate.  First,  re-execute  both
  650.               programs  with  the same baud rate. Second, try to reduce the
  651.               baud  rate on the machine that does show this message. Third,
  652.               try  with  a  lower baud rate (e.g. 57600). Fourth, make sure
  653.               that  you  use  the  serial ports connected to the null-modem
  654.               cable.  Fifth,  compare  the  clock  rate of your serial port
  655.               with the value found in the installation section.
  656.             
  657.             1.8 REGISTRATION
  658.             
  659.                     Twin  Express  is  a  shareware package. It is not free
  660.             software  nor  public domain software. The main difference here
  661.             is  that  you  must  purchase  a  license  to  use  it after an
  662.             evaluation  period.  Note that the cost of the license is never
  663.             included   in  the  price  of  disks  from  public  domain  and
  664.             shareware software distributors. 
  665.             
  666.                      The  package  contains  files  that  can be evaluated,
  667.             free  of  charge,  during  a one-week period. During this week,
  668.             you  can  test the program and examine the documentation. After
  669.             this  period,  you  must decide if you want to keep the program
  670.             or  not.  If the product is found to be not useful, the package
  671.             must  be  removed from the system. However, if you do decide to
  672.             keep  it,  you  must  become  a registered user by purchasing a
  673.             license from OMNICODE.
  674.             
  675.                      The  cost  of  a  basic license for two machines is 30
  676.  
  677.  
  678.                                       8
  679.             Twin Express                                       User's Guide
  680.  
  681.  
  682.  
  683.             CAN$  (including  Canadian taxes where applicable). Add to this
  684.             an  extra  fee  of 10 CAN$ for each additional machine. If Twin
  685.             Express  is  to  be  installed  on  a  server,  you will need a
  686.             license  for  every  computer  that can access the program from
  687.             the   server.  Upon  registration,  you  receive  a  manual,  a
  688.             diskette  containing  the  latest  version  of Twin Express, an
  689.             invoice  (as  proof  of  purchase)  and support for 6 months in
  690.             case  of problems. The registration and order form can be found
  691.             in appendix E.
  692.             
  693.             1.9 CUSTOMER SUPPORT
  694.             
  695.                     You  might  experience problems with the program or the
  696.             documentation  or  you  might  just  want  to obtain the latest
  697.             release.  Registered  users  can  contact OMNICODE to get help.
  698.             Just send a letter or a FAX to:
  699.             
  700.                                OMNICODE
  701.                                P.O. Box 128 Ahuntsic
  702.                                Montréal [Québec]
  703.                                CANADA H3L 3N7
  704.             
  705.                                FAX: (514)385-6455
  706.             
  707.             You  will  find  a problem report form in appendix D to be used
  708.             in  describing  your  problems and for making suggestions. Fill
  709.             in the form in appendix E in order to get the latest update.
  710.             
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.                                       9
  740.             Twin Express                                       User's Guide
  741.  
  742.  
  743.  
  744.             
  745.                                        TUTORIAL
  746.             
  747.             
  748.                     This  chapter  introduces the new user to Twin Express.
  749.             The  experienced  user  is  referred  to  chapter  3  for  more
  750.             detailed information.
  751.             
  752.                     We   assume   here   that  the  installation  has  been
  753.             completed  and  that  a  cable  is  connected  between  the two
  754.             computers running Twin Express.
  755.             
  756.             2.1 VOCABULARY
  757.             
  758.                     D.O.S.  means  Disk  Operating  System. Throughout this
  759.             manual,  this  term  is  used  without designating a particular
  760.             implementation of this software (e.g. PC-DOS, UNIX).
  761.             
  762.                     A  null-modem  cable  is  a  cable that connects to the
  763.             serial  ports of two computers. This is not the same as a modem
  764.             cable (the wiring is different).
  765.             
  766.                     Serial  transfers  means  data transmission between two
  767.             computers by their serial devices through a null-modem cable.
  768.             
  769.                     Remote  system  indicates  the  computer  to which your
  770.             computer   (known   as  the  local  system)  is  connected.  By
  771.             extension,  remote  files,  remote directories, remote volumes,
  772.             remote   devices   and   remote   resources   indicates  files,
  773.             directories,  volumes,  devices  and  resources  located on the
  774.             remote system.
  775.             
  776.                     A  volume  is  a  structured  group  of directories and
  777.             files,  sometimes  called a file system, installed on a disk, a
  778.             disk partition or in a dedicated area of the main memory.
  779.             
  780.             2.2 PURPOSE OF A FILE TRANSFER PROGRAM
  781.             
  782.                     The  purpose  of a file transfer program is to transfer
  783.             files  between  two  computers.  It  allows  a user to exchange
  784.             files   between   computers  equipped  with  floppy  drives  of
  785.             different   sizes  or  to  exchange  files  with  a  floppyless
  786.             computer.  It  performs  this  job better than a communications
  787.             program  since  it  is usually much faster and adapted for this
  788.             task.  Finally,  it  is  also  simpler  and faster then using a
  789.             floppy  disk  to  transfer  files between the hard disks of two
  790.             computers  (especially  when  the size of a file is larger than
  791.             the capacity of the floppy disk).
  792.             
  793.                     A  file  transfer  program  needs  a  link  between the
  794.             computers  involved  in  these  transfers.  This can be done by
  795.             connecting  a  cable  to a serial port on each computer. Such a
  796.             port  works  with  fairly long cables, provides some protection
  797.             against noise and is inexpensive.
  798.  
  799.  
  800.                                      10
  801.         Twin Express                                       User's Guide
  802.  
  803.  
  804.  
  805.             
  806.             2.3 COMMANDS AND ALIASES
  807.             
  808.                     The   user   interacts  with  Twin  Express  by  typing
  809.             commands  that  have  a  name  similar  to the commands of your
  810.             D.O.S.  For  example,  to  get  a list of the files kept in the
  811.             local current directory:
  812.             
  813.               TWIN> DIR <enter>
  814.             
  815.             The full set of commands is given in the table below:
  816.             
  817.               DIR    : Shows file(s) in a directory.
  818.               CHDIR  : Changes the default directory.
  819.               MKDIR  : Creates a directory.
  820.               RMDIR  : Removes a directory.
  821.               TREE   : Shows directory structure.
  822.               COPY   : Makes a copy of file(s).
  823.               DELETE : Deletes file(s).
  824.               RENAME : Changes the name of file(s).
  825.               TYPE   : Shows the contents of a text file.
  826.               HELP   : Provides help on Twin Express.
  827.               SET    : Changes the transmission mode.
  828.               SHOW   : Displays various information.
  829.               ECHO   : Outputs a string on the console.
  830.               QUIT   : Exits from Twin Express.
  831.             
  832.                     In  order  to  assist  the  users  who  transfer  files
  833.             between  systems  having  two  different  D.O.S.,  Twin Express
  834.             accepts  popular  aliases  for some commands and options. These
  835.             aliases are shown in the table below:
  836.             
  837.               DIR     : LIST, LS
  838.               CHDIR   : CD
  839.               MKDIR   : MD, MAKEDIR
  840.               RMDIR   : RD
  841.               COPY    : XCOPY, CP
  842.               DELETE  : DEL, ERASE, RM
  843.               RENAME  : REN, MV
  844.               TYPE    : MORE, CAT, DISPLAY
  845.               HELP    : ?
  846.               QUIT    : EXIT
  847.             
  848.               SUBDIR  : ALL, /S
  849.             
  850.             This  feature should help those who are used to PC-DOS, MS-DOS,
  851.             AmigaDOS  or  UNIX.  However,  Twin Express commands have their
  852.             own  behavior  and  options.  Therefore, they may not recognize
  853.             certain  options  or perform exactly like their counterparts in
  854.             these operating systems.
  855.             
  856.             2.4 LOCAL VERSUS REMOTE RESOURCES
  857.  
  858.  
  859.  
  860.  
  861.                                      11
  862.             Twin Express                                       User's Guide
  863.  
  864.  
  865.  
  866.             
  867.                     All   the   commands   related  to  file  or  directory
  868.             operations  can  work  on  local  or  remote  resources.  These
  869.             resources may be: files, directories, volumes and devices.
  870.             
  871.                     Accessing  a local resource is simple. You just specify
  872.             the  name  of  the  resource  in  your command. For example, to
  873.             delete the local file OLDDEMO.C:
  874.             
  875.               TWIN> DELETE  OLDDEMO.C
  876.             
  877.             Unless  otherwise  specified,  Twin  Express  always uses local
  878.             resources.  In the example above, the program deletes the local
  879.             file  OLDDEMO.C  from  the  local default directory. You always
  880.             have  access  to  the  local resources even if no communication
  881.             has been established with a remote computer.
  882.             
  883.                     Accessing  a  remote resource is simple too! This time,
  884.             the  name  of  the  resource  must have a ~ prefix (tilde). For
  885.             example, to delete the remote file OLDDEMO.C:
  886.             
  887.               TWIN> DELETE  ~OLDDEMO.C
  888.             
  889.             In  this case, the request is sent to the remote computer where
  890.             it   is  executed.  In  the  example  above,  the  remote  file
  891.             OLDDEMO.C   is  deleted  from  the  remote  default  directory.
  892.             Communication  must  have been established with a remote system
  893.             before you can use commands specifying remote resources.
  894.             
  895.                     The  procedure  is the same with all the commands. Twin
  896.             Express  uses  a remote resource if the name has a ~ prefix and
  897.             a  local  resource  otherwise.  The commands themselves are the
  898.             same  for both the local and the remote operations. Note: there
  899.             must  be  no  space  between  the  ~ prefix and the name of the
  900.             resource.
  901.             
  902.             2.5 TRANSFERRING FILES WITH THE COPY COMMAND
  903.             
  904.                     The  main purpose of a file transfer program is to copy
  905.             files  from one computer to another. With Twin Express, this is
  906.             done by the COPY command.
  907.             
  908.                     This  command  can  work  with  both  local  and remote
  909.             files.  To  copy  a  file  between  two  computers it is just a
  910.             matter  of  using a local name and a remote name.  For example,
  911.             to  copy  the  local file ALPHA to the file Bravo on the remote
  912.             computer:
  913.             
  914.               TWIN> COPY  ALPHA  ~Bravo
  915.             
  916.             This  command actually transfers a copy of the local file ALPHA
  917.             to  the  remote  system  since  the ~ prefix specifies a remote
  918.             file.  The  new  file  is  stored  as  file Bravo in the remote
  919.             default   directory.  Note:  whenever  possible,  Twin  Express
  920.  
  921.  
  922.                                      12
  923.             Twin Express                                       User's Guide
  924.  
  925.  
  926.  
  927.             preserves lower case letters used in file and directory names.
  928.             
  929.                     The  target  name  of the COPY command can be a device.
  930.             For  example,  to print the local file README.DOC, you can copy
  931.             it to the remote printer PRT:
  932.             
  933.               TWIN> COPY  README.DOC  ~PRT:
  934.             
  935.             The  following  devices  are  available  on the Amiga computer:
  936.             CON:,  PRT: and NIL:. SER: can also be used locally if the port
  937.             is  not  connected  to a remote computer. The following devices
  938.             are  available  on  the  IBM-PC  or  compatible  systems: CON:,
  939.             COM1:, COM2:, LPT1:, LPT2:, LPT3:, PRN: and NUL:.
  940.             
  941.                     Of  course, you can also copy a remote resource to your
  942.             local  system.  For example, to copy the remote file CHARLIE to
  943.             the local file DELTA:
  944.             
  945.               TWIN> COPY  ~CHARLIE  DELTA
  946.             
  947.             This  time,  a copy of the file CHARLIE is transferred from the
  948.             remote  to  the local system. The command is the same as before
  949.             but the remote resource is now the source file.
  950.             
  951.                      The  source  file and the destination file may also be
  952.             located  on  the  same computer. For example, to copy the local
  953.             file ALPHA to the local file BRAVO:
  954.             
  955.               TWIN> COPY  ALPHA  BRAVO
  956.             
  957.             No  transfer  occurred  between  the  computers,  in this case,
  958.             because  both  names  specified  local files. A remote copy can
  959.             also  be  done if both names specify remote files. For example,
  960.             to copy the remote file CHARLIE to the remote file DELTA:
  961.             
  962.               TWIN> COPY  ~CHARLIE  ~DELTA
  963.             
  964.             With  such  an  operation,  the  request  is sent to the remote
  965.             system  where  it  is  executed locally. This kind of operation
  966.             can  be useful if you have to perform some disk management on a
  967.             distant remote system.
  968.             
  969.                     The  thing  to  remember  here:  COPY always performs a
  970.             file  transfer whenever one name specifies a local resource and
  971.             the  other  name  a  remote  resource. Otherwise, it is a plain
  972.             copy.
  973.             
  974.             2.6 SYNTAX OF FILE AND DIRECTORY NAMES
  975.             
  976.                     By  using  only  simple  file  names, like CHESS.C, the
  977.             user  can access only the files in the local and remote default
  978.             directories.  These  directories  correspond to the directories
  979.             in  use  on  the  local and remote system when Twin Express was
  980.             activated.
  981.  
  982.  
  983.                                      13
  984.             Twin Express                                       User's Guide
  985.  
  986.  
  987.  
  988.             
  989.                     Twin  Express  also  accepts  file names that specify a
  990.             path  to  reach  the selected file or directory. Such names are
  991.             often  called  pathnames.  The  path  may contain a volume name
  992.             and/or directory names.
  993.             
  994.                     Directory  and file names must be separated by either /
  995.             (slashes)  or  \  (back-slashes).  For  example, to delete file
  996.             CHESS.C from subdirectory SOURCES in subdirectory GAMES:
  997.             
  998.               TWIN> DELETE  GAMES/SOURCES/CHESS.C               or
  999.               TWIN> DELETE  GAMES\SOURCES\CHESS.C
  1000.             
  1001.             The  choice  between  / and \ is yours; you can use both on all
  1002.             the  systems. To specify the root directory (the main directory
  1003.             on  a  volume)  you can use, as well, the slash, the back-slash
  1004.             or  the  colon.  For  example:  to  change  the  local  default
  1005.             directory to the root directory of the current volume:
  1006.             
  1007.               TWIN> CHDIR  /                                    or
  1008.               TWIN> CHDIR  \                                    or
  1009.               TWIN> CHDIR  :
  1010.             
  1011.             However,  a path may start with a volume name. This name may be
  1012.             the   physical   name  of  a  disk  (e.g.  DH0,  E)  or,  where
  1013.             applicable,  the  volume  name  specified during a disk format.
  1014.             When  a  volume  name  is included in a path, this name must be
  1015.             followed  by a colon. For example, to remove directory TRASH on
  1016.             remote volume DH0:
  1017.             
  1018.               TWIN> RMDIR  ~DH0:TRASH
  1019.             
  1020.             A  volume  name  also  forces  the  path  to  start at the root
  1021.             directory  of  this  volume.  Note:  this behavior is different
  1022.             from  PC-DOS  and  MS-DOS  where the path starts at the current
  1023.             default  directory (unless a \ is used). Actually, Twin Express
  1024.             accepts  all  the  following  pathnames  to reach the directory
  1025.             DEMOS on volume C:
  1026.             
  1027.               TWIN> CHDIR  C:/DEMOS
  1028.               TWIN> CHDIR  C:\DEMOS
  1029.               TWIN> CHDIR  C:DEMOS
  1030.               TWIN> CHDIR  :/DEMOS
  1031.               TWIN> CHDIR  :\DEMOS
  1032.               TWIN> CHDIR  /DEMOS
  1033.               TWIN> CHDIR  \DEMOS
  1034.               TWIN> CHDIR  :DEMOS
  1035.             
  1036.             The  last  five  commands above assume that the directory DEMOS
  1037.             is  on  the  current default volume. Again, you have the choice
  1038.             of  selecting  the  pathname syntax that most resembles that of
  1039.             your  system  even  when you transfer files to/from a different
  1040.             D.O.S.
  1041.             
  1042.  
  1043.  
  1044.                                      14
  1045.             Twin Express                                       User's Guide
  1046.  
  1047.  
  1048.  
  1049.             2.7 FILE GROUPS AND WILDCARDS
  1050.             
  1051.                     Quite  often,  the user needs to transfer more than one
  1052.             file:  it  may  be all the files in a directory, C source files
  1053.             or  only  the  files  having  a  name starting with HOTEL. Some
  1054.             commands  (DIR,  COPY,  DELETE and RENAME) accept the popular *
  1055.             and  ?  wildcard  characters  in  order  to  specify a group of
  1056.             files.
  1057.             
  1058.                     The  ?  wildcard character matches any single character
  1059.             in  a  file name. For example, to list all the four-letter file
  1060.             names starting with L and ending with MA:
  1061.             
  1062.               TWIN> DIR  L?MA
  1063.             
  1064.             The  * wildcard character matches any number of characters in a
  1065.             file  name.  For  example,  to delete all the files ending with
  1066.             .BAK:
  1067.             
  1068.               TWIN> DELETE  *.BAK
  1069.             
  1070.             Twin  Express  also  lets  you specify the variable part of the
  1071.             file  name  with  a selection from a set of substrings. In this
  1072.             case,  the  substrings  are separated by | and the complete set
  1073.             is  enclosed  by (). For example, to list the .C files starting
  1074.             with TWIN and ending with either HOST, COMM or MAIN:
  1075.             
  1076.                TWIN> DIR  TWIN(HOST|COMM|MAIN).C
  1077.             
  1078.             Of  course  the  selection can be combined with wildcards; this
  1079.             can  be  quite  powerful.  For example, to delete all the files
  1080.             ending with .LST, .MAP or .BAK:
  1081.             
  1082.               TWIN> DELETE  *.(LST|MAP|BAK)
  1083.             
  1084.             However,  the  selection and wildcards can be used only in file
  1085.             names.  They  cannot  be  used  in  a path (i.e. volume name or
  1086.             directory name).
  1087.             
  1088.                     The  * wildcard character, alone, can also be used in a
  1089.             target  name.  For example, to copy all the .EXE files from the
  1090.             local subdirectory PROJECTS to the remote subdirectory TESTS:
  1091.             
  1092.               TWIN> COPY  PROJECTS/*.EXE  ~TESTS/*              or
  1093.               TWIN> COPY  PROJECTS/*.EXE  ~TESTS
  1094.             
  1095.             As  shown  above,  the  * wildcard character in the target name
  1096.             matches  the  corresponding files of the source name. Actually,
  1097.             this   is   equivalent  to  the  second  command  which  simply
  1098.             specifies  the  target  directory.  However,  when  the  target
  1099.             directory  is  a  default  directory,  the * wildcard character
  1100.             reduces  the number of characters to type. For example, to copy
  1101.             the local file CHESS.C to the remote default directory:
  1102.             
  1103.  
  1104.  
  1105.                                      15
  1106.             Twin Express                                       User's Guide
  1107.  
  1108.  
  1109.  
  1110.               TWIN> COPY  CHESS.C  ~*
  1111.             
  1112.                     It  may  be  useful  to abort a command when a group of
  1113.             files  is  specified.  This  may  occur,  for example, when you
  1114.             delete,  by  error, the wrong group of files! In this case, the
  1115.             command may be aborted by typing <CTRL-C>.
  1116.             
  1117.             2.8 MOVING TEXT FILES TO A DIFFERENT TYPE OF COMPUTER
  1118.             
  1119.                     An  important feature of Twin Express is its ability to
  1120.             transfer  files  between  different  types  of  computers (e.g.
  1121.             between  Amiga  and  IBM-PC  computers).  This is of particular
  1122.             interest  for  text files since binary files containing data or
  1123.             programs  are  almost  useless on a different type of computer.
  1124.             Text  files  contain  printable  characters.  They  are used to
  1125.             store letters, documents, ASCII data and source programs.
  1126.             
  1127.                     Unfortunately,  each  computer  has  its  own  internal
  1128.             organization  for  text  files. The end-of-line marker, end-of-
  1129.             file  marker  and  the  coding of special characters may change
  1130.             from one computer to another.
  1131.             
  1132.                     At  this  time, Twin Express handles the translation of
  1133.             the  end-of-line  marker,  the  end-of-file  marker and 50 non-
  1134.             standard  characters  common  to  both Amiga and IBM compatible
  1135.             computers.   The   changes   are  described  in  the  following
  1136.             paragraphs:
  1137.             
  1138.               1. The  end-of-line  marker  is  translated  between  NL (new
  1139.                  line)  on  the  Amiga  and  CR/LF  (carriage return / line
  1140.                  feed) on the IBM-PC or compatible computers.
  1141.             
  1142.               2. A  <CTRL-Z>  marker  is  appended  to  the end of all text
  1143.                  files  on  IBM-PC  or  compatible  computers.  Note:  this
  1144.                  marker  is  added  even  if the marker is missing from the
  1145.                  source file.
  1146.             
  1147.               3. The  Amiga  and IBM-PC machines share 50 characters having
  1148.                  the   same   typeface  but  a  different  code.  A  simple
  1149.                  translation  is  done  in this case. These characters are:
  1150.                  á,  à,  â, ä, é, è, ê, ë, í, ì, î, ï, ó, ò, ô, ö, ú, ù, û,
  1151.                  ü,  ÿ,  ç, Ç, É, Ä, Ö, Ü, ¿, ¡, ñ, Ñ, å, Å, æ, Æ, ß, µ, ¥,
  1152.                  ±,  £, ¢, ¬, °, ², «, »,  , Ø, ¼, ½. The remaining special
  1153.                  characters are left unmodified.
  1154.             
  1155.                     The  TEXT option of the COPY command indicates that the
  1156.             source  file  contains  text rather than binary or raw data. It
  1157.             enables  the  translation  process. It is not required when the
  1158.             transfer  is done to the same type of computer. For example, to
  1159.             transfer  the  text  file  TWIN.DOC from the local directory to
  1160.             the file TWIN.TXT on a different remote computer:
  1161.             
  1162.               TWIN> COPY  TWIN.DOC  ~TWIN.TXT  TEXT
  1163.             
  1164.  
  1165.  
  1166.                                      16
  1167.             Twin Express                                       User's Guide
  1168.  
  1169.  
  1170.  
  1171.                     The  TYPE  command displays on screen the contents of a
  1172.             text  file. Twin Express automatically translates the file to a
  1173.             format  compatible  with  the local computer when the file is a
  1174.             remote  file from a different type of computer. For example, to
  1175.             display the contents of the remote file SONGS.SPA:
  1176.             
  1177.               TWIN>  TYPE  ~SONGS.SPA
  1178.             
  1179.             The  TYPE  command  assumes  that  SONGS.SPA is a text file and
  1180.             translates it, if necessary.
  1181.             
  1182.                     A   word   of  caution  about  word  processors.  These
  1183.             programs  keep  some  formating information in your text files.
  1184.             This  information  may  change  from  one  type  of computer to
  1185.             another.   Twin   Express  does  not  translate  this  type  of
  1186.             information.  Therefore  you  may  want  to  transfer  the file
  1187.             without  the  TEXT option and then use a conversion program. On
  1188.             the  other hand, if the word processor output can be redirected
  1189.             to  an ASCII file, instead of the printer, this output file can
  1190.             be  transferred  with the TEXT option since it does not contain
  1191.             the formating information.
  1192.             
  1193.             2.9 ENABLING FAST TRANSFERS
  1194.             
  1195.                     The  main  feature  of  Twin Express is its speed. High
  1196.             speed  serial  transfers  can  be achieved by using a high baud
  1197.             rate and/or a special transmission mode.
  1198.             
  1199.                     On  the  Amiga computer, the hardware can transfer more
  1200.             than  1,000,000 bits per second (according to Commodore-Amiga).
  1201.             To   get   the  fastest  serial  transfers  between  two  Amiga
  1202.             computers  it  is  thus  a matter of selecting the highest baud
  1203.             rate  possible. In practice, this baud rate is actually limited
  1204.             by  CPU  speed  and  cable  capacitance  (ability  to oppose to
  1205.             changing  voltages).  The highest baud rate recommended for the
  1206.             Amiga  family  of computers is 190000. However, if you have two
  1207.             Amiga  3000  and  a short cable you may use baud rates of up to
  1208.             290000. For example, to execute Twin Express at 230000 baud:
  1209.             
  1210.               A> TWIN  SER  230000
  1211.             
  1212.             With  such  a  baud rate, the effective transfer speed is about
  1213.             22,000  bytes  per  second.  Raising  the  baud  rate, from its
  1214.             default  115200  baud,  is  the  recommended method to get high
  1215.             speed serial transfers between two Amiga computers.
  1216.             
  1217.                     On  a  12.5  MHz  AT-type  computer,  the  hardware can
  1218.             transfer  data  at  up  to  115200  bits  per  second. Speed is
  1219.             actually  limited  by  the  hardware,  not  by  the CPU. To get
  1220.             faster  speeds,  the  user  must  select a special transmission
  1221.             mode  (EXPRESS).  On  a 12.5 MHz AT-type computer, it transfers
  1222.             about  100%  more  data  than  the  default  STANDARD mode. For
  1223.             example, to enable the EXPRESS mode:
  1224.             
  1225.  
  1226.  
  1227.                                      17
  1228.             Twin Express                                       User's Guide
  1229.  
  1230.  
  1231.  
  1232.               TWIN> SET  MODE  EXPRESS
  1233.             
  1234.             This  allows a user to transfer files at about 22,000 bytes per
  1235.             second  using the default baud rate of 115200. You can also use
  1236.             this  mode with Amiga computers. However, with a high baud rate
  1237.             the increase in performance is lower.
  1238.             
  1239.                     The  EXPRESS  mode  is the recommended mode of transfer
  1240.             unless  you  are  using a 3-wire cable or you run into a lot of
  1241.             transmission errors.
  1242.             
  1243.             2.10 INPUT FROM A COMMAND FILE
  1244.             
  1245.                     Twin  Express  reads  its  commands  from  the standard
  1246.             input   file   used  upon  activation.  This  file  is  usually
  1247.             connected  to  the keyboard. However, it is possible to execute
  1248.             commands  from a disk file. The user just needs to redirect the
  1249.             standard  input  to  this  file.  For  example,  to execute the
  1250.             commands in file BACKUP.TNX:
  1251.             
  1252.               TWIN  <BACKUP.TNX
  1253.             
  1254.             The  file contains the same commands as would be entered from a
  1255.             keyboard, including the final QUIT command. For example:
  1256.             
  1257.               COPY  C:*.C  ~D:  SUBDIR  TEXT
  1258.               COPY  C:*.ASM  ~D:  SUBDIR  TEXT
  1259.               QUIT
  1260.             
  1261.             Note: commands files can be created with any text editor.
  1262.             
  1263.             
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.                                      18
  1289.             Twin Express                                       User's Guide
  1290.  
  1291.  
  1292.  
  1293.             
  1294.                                         COMMANDS
  1295.             
  1296.             
  1297.                     This  chapter  provides detailed information about each
  1298.             Twin Express command.
  1299.             
  1300.                     The  full  syntax  is  given  for  each command. Square
  1301.             brackets  ([])  indicate  optional  parameters.  Braces  ({  })
  1302.             indicate a choice from a list.
  1303.             
  1304.             3.1 CHDIR
  1305.             
  1306.             Syntax: CHDIR  [~]DirectoryName
  1307.             
  1308.                     Twin  Express  supports  two  default  directories: the
  1309.             local  directory and the remote directory. These are defined by
  1310.             the  volumes  and  directories  in  use  when  Twin Express was
  1311.             activated.
  1312.             
  1313.                     The  CHDIR command changes the default directory of the
  1314.             local  system  or  the  remote system. The default directory is
  1315.             used  whenever  the  user  specifies a name not starting at the
  1316.             root  directory  of  a  volume  (e.g.  CHESS.C  as  opposed  to
  1317.             /GAMES/SOURCES/CHESS.C).
  1318.             
  1319.                     The  name  of  a local directory is used with the CHDIR
  1320.             command  to change the local default directory. For example, to
  1321.             change the local default directory to IBMGAMES on volume B:
  1322.             
  1323.               TWIN> CHDIR  B:IBMGAMES                           or
  1324.               TWIN> CHDIR  B:/IBMGAMES                          or
  1325.               TWIN> CHDIR  B:\IBMGAMES
  1326.             
  1327.             The  default drive is changed when a volume is specified in the
  1328.             pathname,  as  in  the  example above. This also indicates that
  1329.             the  directory  specified can be found in the root directory of
  1330.             that  volume  even  though  a  slash  or  a  back-slash  is not
  1331.             specified  after  the  colon.  Note: This behavior is different
  1332.             from that of PC-DOS and MS-DOS.
  1333.             
  1334.                     A  remote  directory  name is used to change the remote
  1335.             default  directory.  Since this refers to a remote resource the
  1336.             name  must have the ~ prefix. For example, to change the remote
  1337.             default directory to AMIGAMES on volume DH0:
  1338.             
  1339.               TWIN> CHDIR  ~DH0:AMIGAMES                        or
  1340.               TWIN> CHDIR  ~DH0:/AMIGAMES                       or
  1341.               TWIN> CHDIR  ~DH0:\AMIGAMES
  1342.             
  1343.             3.2 COPY
  1344.             
  1345.             Syntax: COPY  [~]SourceOfData  [~]DestinationOfData  [SUBDIR]
  1346.                           [{BINARY|TEXT}]
  1347.  
  1348.  
  1349.                                      19
  1350.             Twin Express                                       User's Guide
  1351.  
  1352.  
  1353.  
  1354.             
  1355.                     The  COPY  command  creates copies of files. Source and
  1356.             destination files may be local or remote resources.
  1357.             
  1358.                     In  its  simplest  form, the command COPY uses a source
  1359.             file  and a destination file on the same computer. For example,
  1360.             to  copy  the  local  file  AUTOEXEC.BAT  into  the  local file
  1361.             AUTOEXEC.OLD  and  to  copy the remote file startup-sequence to
  1362.             remote file old-startup-sequence:
  1363.             
  1364.               TWIN> COPY  AUTOEXEC.BAT  AUTOEXEC.OLD
  1365.               TWIN> COPY  ~startup-sequence  ~old-startup-sequence
  1366.             
  1367.             As  shown  above,  the remote resources must have the ~ prefix.
  1368.             Note:  the  target file gets the same creation date and time as
  1369.             the source file.
  1370.             
  1371.                     A  more useful form, from a file transfer program point
  1372.             of  view,  is when the source file and the destination file are
  1373.             not  on  the  same system. This actually transfers the contents
  1374.             of  the source file to the destination system through the cable
  1375.             connected   to  the  serial  devices  of  both  computers.  For
  1376.             example,  to  copy the local file TITLES.LIB to file NEWHITS on
  1377.             the remote system:
  1378.             
  1379.               TWIN> COPY  TITLES.LIB  ~NEWHITS
  1380.             
  1381.                     Source  file  names  may contain wildcards. This allows
  1382.             the  user  to  copy  many  files  with  a  single  command. For
  1383.             example,  to  copy all the .C files of the current directory to
  1384.             the directory SOURCES:
  1385.             
  1386.               TWIN> COPY  *.C  SOURCES
  1387.             
  1388.             Note:   when  the  source  name  contains  wildcards  or  is  a
  1389.             directory  name,  the  target  name  must  be  the  name  of  a
  1390.             directory.
  1391.             
  1392.                     On   request,  COPY  can  also  process  the  files  of
  1393.             subdirectories.  This  is  indicated  by the SUBDIR option. For
  1394.             example,  to  copy  all  the  remote .EXE files from the remote
  1395.             directory   GAMES,  including  all  the  .EXE  files  found  in
  1396.             sudirectories  of  directory  GAMES,  to  the  local  directory
  1397.             DEMOS:
  1398.             
  1399.               TWIN> COPY  ~GAMES/*.EXE  DEMOS  SUBDIR           or
  1400.               TWIN> COPY  ~GAMES\*.EXE  DEMOS  SUBDIR
  1401.             
  1402.             In  this  case,  Twin Express first copies matching files found
  1403.             in  the  source  directory  to  the  target  directory. It then
  1404.             copies   matching   files   found   in   each   of  the  source
  1405.             subdirectories  to  subdirectories  of  the  same  name  in the
  1406.             target  directory.  If  a matching target subdirectory does not
  1407.             exist,  Twin  Express  creates the subdirectory and then copies
  1408.  
  1409.  
  1410.                                      20
  1411.             Twin Express                                       User's Guide
  1412.  
  1413.  
  1414.  
  1415.             the   corresponding   files  to  it.  This  produces  a  target
  1416.             directory having the same structure as the source directory.
  1417.             
  1418.                    The  TEXT option indicates that the source file contains
  1419.             text  (printable characters) rather than binary data. It allows
  1420.             Twin  Express  to  translate  your text files when you transfer
  1421.             them  between  an  Amiga  and  an IBM computer. For example, to
  1422.             transfer  all  the text files from the local directory BUSINESS
  1423.             to the remote directory LETTERS:
  1424.             
  1425.               TWIN> COPY  BUSINESS  ~LETTERS  TEXT
  1426.             
  1427.             More  information about the translation process can be found in
  1428.             section  2.8  of  this manual. By default, the BINARY option is
  1429.             used and no translation is done.
  1430.             
  1431.             3.3 DELETE
  1432.             
  1433.             Syntax: DELETE  FileName  [SUBDIR]
  1434.             
  1435.                     The  DELETE  command removes local or remote files from
  1436.             a file system.
  1437.             
  1438.                     A  local  file  name is used with the DELETE command to
  1439.             delete   a   local  file.  For  example,  to  delete  the  file
  1440.             REPORT.OLD in the default local directory:
  1441.             
  1442.               TWIN> DELETE  REPORT.OLD
  1443.             
  1444.             To  delete a remote file, the file name must have the ~ prefix.
  1445.             For  example,  to  delete  the  remote  file  REPORT.OLD in the
  1446.             default remote directory:
  1447.             
  1448.               TWIN> DELETE  ~REPORT.OLD
  1449.             
  1450.             Usage   of  wildcards  is  permitted  with  this  command.  For
  1451.             example,  to  delete  all  the  .MAP files in the local default
  1452.             directory:
  1453.             
  1454.               TWIN> DELETE  *.MAP
  1455.             
  1456.                     On  request,  DELETE  can be extended to files found in
  1457.             subdirectories.  This  is  indicated  by the SUBDIR option. For
  1458.             example, to delete all the .LST files on the remote volume C:
  1459.             
  1460.               TWIN> DELETE  ~C:*.LST  SUBDIR                    or
  1461.               TWIN> DELETE  ~C:/*.LST  SUBDIR                   or
  1462.               TWIN> DELETE  ~C:\*.LST  SUBDIR
  1463.             
  1464.             3.4 DIR
  1465.             
  1466.             Syntax: DIR  [~][PathName]  [SUBDIR]
  1467.             
  1468.                     The  DIR  command  displays the names of the files in a
  1469.  
  1470.  
  1471.                                      21
  1472.             Twin Express                                       User's Guide
  1473.  
  1474.  
  1475.  
  1476.             local  or  remote directory. The command provides the following
  1477.             data  regarding  these  files:  the  file size (bytes), date of
  1478.             last  modification,  time  of  last  modification  and the file
  1479.             attributes.  For  example,  DIR  might  display  the  following
  1480.             information:
  1481.             
  1482.               Listing of directory C:\GAMES\CHESS
  1483.             
  1484.               CHESS.BAT                193  91-03-31  09:10:47  --CA  RW-D
  1485.               CHESS.C               245002  91-09-26  15:28:18  ---A  RW-D
  1486.               CHESS.EXE             113247  91-09-26  15:31:58  ----  RWED
  1487.               CHESS.DOC              35831  91-09-27  11:55:16  ----  RW-D
  1488.               OPENINGS           Directory  91-05-25  16:29:31  ----  RWED
  1489.               CHESS.O                54645  91-09-26  15:31:04  ----  RW-D
  1490.             
  1491.               Total size of files:  448918
  1492.             
  1493.                     A  local  file name is used with the DIR command to get
  1494.             information  on  a  specific  local  file.  For example, to get
  1495.             information on the local file CHESS.C:
  1496.             
  1497.               TWIN> DIR  CHESS.C
  1498.             
  1499.             To  get  information  on a remote file, the file name must have
  1500.             the  ~  prefix.  For  example, to get information on the remote
  1501.             file GRAPHLIB:
  1502.             
  1503.               TWIN> DIR  ~GRAPHLIB
  1504.             
  1505.             Usage  of  wildcard  characters  is  permitted. For example, to
  1506.             display  information about all the files having a name starting
  1507.             with HOTEL:
  1508.             
  1509.               TWIN> DIR  HOTEL*
  1510.             
  1511.             To  get  the  complete  listing  of a particular directory, the
  1512.             user  must  supply a directory name instead of a file name. For
  1513.             example:  to  get  a  complete  listing  of  files in directory
  1514.             A:\BACKUP1:
  1515.             
  1516.               TWIN> DIR  A:BACKUP1                              or
  1517.               TWIN> DIR  A:\BACKUP1
  1518.               TWIN> DIR  A:/BACKUP1
  1519.             
  1520.             To  get a complete listing of a default directory, the user has
  1521.             the  choice  of  using  the  * wildcard character or no name at
  1522.             all.  For  example,  to  display  all  the  files of the remote
  1523.             default directory:
  1524.             
  1525.               TWIN> DIR  ~                                     or
  1526.               TWIN> DIR  ~*
  1527.             
  1528.             The  SUBDIR  option  can  be  used to also display the matching
  1529.             files  in subdirectories. For example: to get a list of all the
  1530.  
  1531.  
  1532.                                      22
  1533.             Twin Express                                       User's Guide
  1534.  
  1535.  
  1536.  
  1537.             files having the .OLD extension on the current volume:
  1538.             
  1539.               TWIN> DIR  :*.OLD  SUBDIR                        or
  1540.               TWIN> DIR  /*.OLD  SUBDIR                        or
  1541.               TWIN> DIR  \*.OLD  SUBDIR
  1542.             
  1543.                     The  file attributes define some characteristics of the
  1544.             file. Twin Express supports the following attributes:
  1545.             
  1546.               S: File is a system file.
  1547.               H: File is normally hidden.
  1548.               C: File is a command file (batch file, script file).
  1549.               P: File contains pure, re-entrant code.
  1550.               A: File has been archived since its last modification.
  1551.               R: File can be read (not read protected).
  1552.               W: File can be written, modified (not write protected).
  1553.               E: File can be executed (not execute protected).
  1554.               D: File can be deleted (not delete protected).
  1555.             
  1556.             Not  all  these attributes are supported on all of the systems.
  1557.             Twin  Express running on the IBM-PC or compatible machines does
  1558.             not  support the attribute P and simulates the attributes C, R,
  1559.             W, E, D.
  1560.             
  1561.             3.5 ECHO
  1562.             
  1563.             Syntax: ECHO UserText
  1564.             
  1565.                     ECHO  displays  on the screen the text that follows the
  1566.             command.  For  example, to get the message "Remote Backup" upon
  1567.             the execution of the command ECHO:
  1568.             
  1569.               TWIN> ECHO Remote Backup
  1570.             
  1571.             The  purpose  of  this  command is to display comments when the
  1572.             input  to  Twin  Express  comes from a command file rather than
  1573.             the keyboard.
  1574.             
  1575.             3.6 HELP
  1576.             
  1577.             Syntax: HELP  [{TWIN|CABLE|USAGE|COMMANDS|EXAMPLES}]
  1578.             
  1579.                     The  HELP  command  provides on-line information to the
  1580.             user.
  1581.             
  1582.                     The  command  may  be used with or without a parameter.
  1583.             Without  a  parameter,  it  is a request for information on the
  1584.             command itself. Example:
  1585.             
  1586.               TWIN> HELP
  1587.             
  1588.             In  this  case,  the command only displays the topics for which
  1589.             help  is  available.  Actually,  the  user  can get information
  1590.             about  registration (TWIN), information about the wiring of the
  1591.  
  1592.  
  1593.                                      23
  1594.             Twin Express                                       User's Guide
  1595.  
  1596.  
  1597.  
  1598.             null-modem  cable  used  for  the  serial transfers (CABLE), an
  1599.             introduction  to  the  basic  operations  (USAGE),  the command
  1600.             syntax (COMMANDS) and some typical examples (EXAMPLES).
  1601.             
  1602.                     For  more  detailed  information,  the  topic  must  be
  1603.             specified  in the command. For example, to display a summary of
  1604.             all the commands:
  1605.             
  1606.               TWIN> HELP  COMMANDS
  1607.             
  1608.             3.7 MKDIR
  1609.             
  1610.             Syntax: MKDIR  [~]DirectoryName
  1611.             
  1612.                     The  MKDIR  command creates a new directory in the file
  1613.             system of the local or the remote computer.
  1614.             
  1615.                     A  local  directory  name  is  used  to  create a local
  1616.             directory.  For  example, to create the subdirectory IBMNEWS in
  1617.             the current default directory:
  1618.             
  1619.               TWIN> MKDIR  IBMNEWS
  1620.             
  1621.             A  ~  prefix  is used at the beginning of the directory name to
  1622.             create   a   remote  directory.  For  example,  to  create  the
  1623.             directory AmiNews in the remote root directory:
  1624.             
  1625.               TWIN> MKDIR  ~/AmiNews                            or
  1626.               TWIN> MKDIR  ~\Aminews                            or
  1627.               TWIN> MKDIR  ~:AmiNews
  1628.             
  1629.             3.8 QUIT
  1630.             
  1631.             Syntax: QUIT
  1632.             
  1633.                     This   command  allows  the  user  to  exit  from  Twin
  1634.             Express.  Note  that you also exit from the remote program if a
  1635.             connection had been established with the remote.
  1636.             
  1637.                     After  exiting  from  the  program  you are left in the
  1638.             directory  from  which  you  activated  Twin  Express even if a
  1639.             different  default  directory  (via  CHDIR)  had  been selected
  1640.             during your session with the program.
  1641.             
  1642.             3.9 RENAME
  1643.             
  1644.             Syntax: RENAME  [~]SourceName  [~]TargetName  [SUBDIR]
  1645.             
  1646.                     The  RENAME command changes the current name of a local
  1647.             or a remote file to a new name.
  1648.             
  1649.                     The  current name and the new name are the two required
  1650.             parameters  to this command. For example, to change the name of
  1651.             the local file TEST.ASM to DONJON.ASM:
  1652.  
  1653.  
  1654.                                      24
  1655.             Twin Express                                       User's Guide
  1656.  
  1657.  
  1658.  
  1659.             
  1660.               TWIN> RENAME  TEST.ASM  DONJON.ASM
  1661.             
  1662.             You  can  also  "rename"  the  file  so as to change its parent
  1663.             directory.  This  actually moves the file to another directory.
  1664.             For example, to move file DONJON.ASM to the directory GAMES:
  1665.             
  1666.               TWIN> RENAME  DONJON.ASM  :GAMES                  or
  1667.               TWIN> RENAME  DONJON.ASM  /GAMES                  or
  1668.               TWIN> RENAME  DONJON.ASM  \GAMES
  1669.             
  1670.             Usually,  most systems won't allow the user to rename a file to
  1671.             a  different  volume. In this case, the user must copy the file
  1672.             to the new volume and delete the old file.
  1673.             
  1674.                     Both  the current name and the new name must have the ~
  1675.             prefix  to  rename  a  remote  file. For example, to change the
  1676.             name  of  remote  file  TEST.PAS to DRAGON.PAS in the directory
  1677.             GAMES of the remote computer:
  1678.             
  1679.               TWIN> RENAME  ~TEST.PAS  ~:GAMES/DRAGON.PAS       or
  1680.               TWIN> RENAME  ~TEST.PAS  ~:GAMES\DRAGON.PAS       or
  1681.               TWIN> RENAME  ~TEST.PAS  ~/GAMES/DRAGON.PAS       or
  1682.               TWIN> RENAME  ~TEST.PAS  ~\GAMES\DRAGON.PAS
  1683.             
  1684.             The  ~  prefix is required in both names, otherwise the meaning
  1685.             would  be  "move  file  to  another  system"  which  is not the
  1686.             purpose of this command.
  1687.             
  1688.                     The  command RENAME also supports the use of wildcards.
  1689.             This  is  used  to  move  a  selected group of files to another
  1690.             directory.  For  example, to move all the files ending in .C to
  1691.             the directory CSTUFF:
  1692.             
  1693.               TWIN> RENAME  *.C  :CSTUFF                        or
  1694.               TWIN> RENAME  *.C  /CSTUFF                        or
  1695.               TWIN> RENAME  *.C  \CSTUFF
  1696.             
  1697.             With  such a command, all the selected files are moved to a new
  1698.             directory. However, all of them keep their original name.
  1699.             
  1700.             3.10 RMDIR
  1701.             
  1702.             Syntax: RMDIR  [~]DirectoryName
  1703.             
  1704.                     The   RMDIR   command  removes  a  local  or  a  remote
  1705.             directory from the file system.
  1706.             
  1707.                     The  name  of  a local directory is used with the RMDIR
  1708.             command  to  delete  a  local  directory  from  the system. For
  1709.             example,  to  remove  the  local subdirectory OLDSTUFF from the
  1710.             current default directory:
  1711.             
  1712.               TWIN> RMDIR  OLDSTUFF
  1713.  
  1714.  
  1715.                                      25
  1716.             Twin Express                                       User's Guide
  1717.  
  1718.  
  1719.  
  1720.             
  1721.             A  remote  directory  name must have the ~ prefix. For example,
  1722.             to   delete   the  directory  OBSOLETE  from  the  remote  root
  1723.             directory:
  1724.             
  1725.               TWIN> RMDIR  ~:OBSOLETE                           or
  1726.               TWIN> RMDIR  ~/OBSOLETE                           or
  1727.               TWIN> RMDIR  ~\OBSOLETE
  1728.             
  1729.             Most  systems prohibit deletion of non-empty directories, which
  1730.             is  a good security feature. The user must remove all the files
  1731.             and any subdirectories from the directory before deleting it.
  1732.             
  1733.             3.11 SET
  1734.             
  1735.             
  1736.             Syntax: SET MODE {STANDARD|EXPRESS}
  1737.             
  1738.                     The  SET command allows a user to select one of the two
  1739.             serial  transmission  modes.  These  are:  STANDARD  (the basic
  1740.             mode) and EXPRESS (a high speed mode).
  1741.             
  1742.                     The  STANDARD  mode transmits data at the speed defined
  1743.             by  the current baud rate. At 115200 baud, it transfers data at
  1744.             about  11,000 bytes per second. This is the default mode. It is
  1745.             also  the  mode recommended when transmission errors occur with
  1746.             the high speed mode.
  1747.             
  1748.                     The  EXPRESS  mode  is a high speed mode that transmits
  1749.             more  data  than  the  standard  mode for a given baud rate. At
  1750.             115200  baud,  it  transfers  data  at  about  22,000 bytes per
  1751.             second on 12.5 MHz AT-type computers.
  1752.             
  1753.                     There  is  no  need  to  type  a  SET  command  on both
  1754.             machines.  Twin Express automatically puts the remote system in
  1755.             the  same mode. For example, to enable the EXPRESS mode on both
  1756.             computers:
  1757.             
  1758.               TWIN> SET  MODE  EXPRESS
  1759.             
  1760.             3.12 SHOW
  1761.             
  1762.             Syntax: SHOW {DEVICE|BAUD|SPEED|STATUS|PATH}
  1763.             
  1764.                     The  SHOW  command  allows  a  user  to get information
  1765.             about  the  current  device,  current baud rate, current speed,
  1766.             default directories or status.
  1767.             
  1768.                     The  DEVICE option indicates the current serial port in
  1769.             use on the local computer.
  1770.             
  1771.                     The  BAUD option indicates the current baud rate in use
  1772.             on the local computer.
  1773.             
  1774.  
  1775.  
  1776.                                      26
  1777.             Twin Express                                       User's Guide
  1778.  
  1779.  
  1780.  
  1781.                     The  SPEED  option  indicates  the  estimated  transfer
  1782.             speed  (in bytes per second) according to the current baud rate
  1783.             and selected mode.
  1784.             
  1785.                     The  PATH  option  indicates  the  default  directories
  1786.             (local and remote).
  1787.             
  1788.                     The  STATUS  option  displays the type of the local and
  1789.             the  remote  systems  (Amiga  or  IBM compatible), the names of
  1790.             local  and  remote ports and type of cable (3 or 7 wires) being
  1791.             used.
  1792.             
  1793.                     For   example,   to   display   information  about  the
  1794.             estimated transfer speed:
  1795.             
  1796.               TWIN> SHOW  SPEED
  1797.             
  1798.             3.13 TREE
  1799.             
  1800.             Syntax: TREE [~][DirectoryName]
  1801.             
  1802.                     The  TREE command displays the structure of a directory
  1803.             and  of all the subdirectories nested within it. For example, a
  1804.             GAMES directory might have the following structure:
  1805.             
  1806.               GAMES
  1807.                 ADVENTURE
  1808.                   MS-TREK
  1809.                   COMBAT
  1810.                 ARCADE
  1811.                   BRICKS
  1812.                   PINBALL
  1813.                 MISC
  1814.                   GAMBLING
  1815.                     BLACKJACK
  1816.                   BOARDS
  1817.                     CHESS
  1818.                     CHECKERS
  1819.                   CARDS
  1820.                     BRIDGE
  1821.             
  1822.                     A  local  directory  name is used with the TREE command
  1823.             to  display the structure of a local directory. For example, to
  1824.             view the directory structure of the local directory GAMES:
  1825.             
  1826.               TWIN> TREE GAMES
  1827.             
  1828.             The  directory name is not required to get the structure of the
  1829.             default directory.
  1830.             
  1831.                     A  directory  name  with  a ~ prefix is used to display
  1832.             the  structure  of a remote directory. For example, to view the
  1833.             directory structure of the remote directory GAMES:
  1834.             
  1835.  
  1836.  
  1837.                                      27
  1838.             Twin Express                                       User's Guide
  1839.  
  1840.  
  1841.  
  1842.               TWIN> TREE ~GAMES
  1843.             
  1844.             3.14 TYPE
  1845.             
  1846.             Syntax: TYPE TextFileName
  1847.             
  1848.                     The  TYPE command displays the contents of a local or a
  1849.             remote  text  file,  one page at a time. The user may abort the
  1850.             command by typing <CTRL-C>.
  1851.             
  1852.                     A  local  name is used with the TYPE command to display
  1853.         a  local  text  file.  For  example,  to display the local file
  1854.         AUTOEXEC.BAT:
  1855.  
  1856.           TWIN> TYPE  AUTOEXEC.BAT
  1857.  
  1858.             To  display a remote text file, the file name must have
  1859.         the   ~  prefix.  For  example,  to  display  the  remote  file
  1860.         startup-sequence:
  1861.  
  1862.           TWIN> TYPE  ~startup-sequence
  1863.  
  1864.         You  can  display remote text files even if the remote computer
  1865.         is  not  compatible  with the local computer (e.g. Amiga vs IBM
  1866.         PC).  In  this  case,  Twin  Express will translate the file as
  1867.         described in section 2.8 of this manual.
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.                                      28
  1899.             Twin Express                                       User's Guide
  1900.  
  1901.  
  1902.  
  1903.             
  1904.                                      ERROR MESSAGES
  1905.             
  1906.             
  1907.                     Errors  fall  in  three  classes: startup errors, usage
  1908.             errors and communication errors.
  1909.             
  1910.             Startup errors:
  1911.             
  1912.                     Startup  errors  are  problems detected upon activation
  1913.             of Twin Express. Section 1.7 describes these errors in detail.
  1914.             
  1915.             Usage errors:
  1916.             
  1917.                     Usage  errors indicate mistakes in a user command (e.g.
  1918.             bad  command,  missing  parameters) or an error detected during
  1919.             execution  of  a  command. These messages always start with the
  1920.             word  "Error".  For  example, an error message indicating a bad
  1921.             command:
  1922.             
  1923.               Error: Invalid command.
  1924.             
  1925.             A  usage  error always terminates the program when the input is
  1926.             from a command file.
  1927.             
  1928.             Communication errors:
  1929.             
  1930.                     Communication   errors   are   indicated   by  messages
  1931.             enclosed  between  >>>  and  <<<.  The  message  specifies some
  1932.             unusual  conditions  related  to  communication with the serial
  1933.             link. You should not see many of them under normal conditions.
  1934.             
  1935.                     Most  communication  error  messages  indicate  that an
  1936.             error  was found in a block of data. These errors are generated
  1937.             by   bad   connections,   high  baud  rates,  long  cables  and
  1938.             electrical  interference.  As  a  result, one or more bits have
  1939.             been  changed  in  a  block  of data transmitted via the serial
  1940.             cable.   This  condition  may  produce  one  of  the  following
  1941.             messages:
  1942.             
  1943.               >>> Last packet data transmitted with error <<<
  1944.               >>> Last packet header transmitted with error <<<
  1945.               >>> Last packet data received with error <<<
  1946.               >>> Last packet header received with error <<<
  1947.             
  1948.             In  this  case,  Twin Express retransmits the block of data and
  1949.             the  corrupted  block  is  discarded. It does not mean that the
  1950.             transmitted  files  contain these transmission errors. However,
  1951.             if  you  have  many  of these errors (say more than one error /
  1952.             million  bytes) you should consider using a slower transmission
  1953.             mode  or  a  slower  baud  rate  to  avoid  possible undetected
  1954.             errors.
  1955.             
  1956.                     Retransmission  of bad blocks of data may produce other
  1957.  
  1958.  
  1959.                                      A1
  1960.             Twin Express                                       User's Guide
  1961.  
  1962.  
  1963.  
  1964.             types  of messages under some circumstances. As before, it does
  1965.             not   mean   that   errors   have  been  introduced  into  your
  1966.             transmitted  files  (serious errors abort the program instead).
  1967.             These messages are:
  1968.             
  1969.               >>> Duplicate of a packet (packet ignored) <<<
  1970.               >>> Unexpected collision of two packets <<<
  1971.               >>> Collision of two packets (recovered) <<<
  1972.               >>> Fatal collision of two packets detected <<<
  1973.               >>> Fatal packet numbering errors <<<
  1974.             
  1975.             These  messages  might  also  appear  as a result of a software
  1976.             problem.  Please  contact  OMNICODE if you repeatedly get these
  1977.             messages at a low baud rate.
  1978.             
  1979.                     Once  in  a  while  you  might see one of the following
  1980.             messages:
  1981.             
  1982.               >>> Break detected: bad device or cable problem <<<
  1983.               >>> Remote computer does not respond <<<
  1984.               >>> Waiting for remote to reply <<<
  1985.             
  1986.             They  usually  indicate  a  cable with a bad connection, a dis-
  1987.             connected  cable  or  a  program  waiting  for  completion of a
  1988.             system  request.  You  should  check whether the cable is still
  1989.             properly  connected or whether you have a system request on the
  1990.             remote computer.
  1991.             
  1992.                  The  remaining  errors  are usually encountered during the
  1993.             debugging  of  the  communication  protocol  or with a very bad
  1994.             serial  link.  If  you get one of the following messages, check
  1995.             your  cable  and  try  to  execute  the program at a lower baud
  1996.             rate:
  1997.             
  1998.               >>> Sender got an out of sync ACK/NAK/SYN/CAN <<<
  1999.               >>> Receiver got an out of sync ACK/NAK/SYN/CAN <<<
  2000.               >>> Sender received an unrecognized reply <<<
  2001.               >>> Receiver got an unrecognized character <<<
  2002.               >>> Time-out while receiving packet header <<<
  2003.               >>> Receiver failed to acknowledge packet header <<<
  2004.               >>> Time-out while receiving packet data <<<
  2005.               >>> Sender failed to send data checksum <<<
  2006.               >>> Receiver failed to acknowledge packet data <<<
  2007.             
  2008.             
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.                                      A2
  2021.             Twin Express                                       User's Guide
  2022.  
  2023.  
  2024.  
  2025.             
  2026.                                    LICENSE AGREEMENT
  2027.             
  2028.             
  2029.                     In   consideration  of  payment  of  the  license  fee,
  2030.             OMNICODE   grants  the  licensee  the  following  non-exclusive
  2031.             rights:
  2032.             
  2033.               1. The  licensee  owns  the  media  on  which the software is
  2034.                  distributed.   However,   the   software  itself  and  the
  2035.                  documentation remain the property of OMNICODE.
  2036.             
  2037.               2. The  licensee may install and use this software on as many
  2038.                  computers  as  have  been  registered. The initial license
  2039.                  (registration) is valid for two computers.
  2040.             
  2041.               3. Each  of  the  computers  on  which  the software has been
  2042.                  installed may be used by any number of users.
  2043.             
  2044.               4. The  licensee  may  move the software from one computer to
  2045.                  another  as  long  as the number of computers that use the
  2046.                  software  does  not  exceed  the  number  of computers for
  2047.                  which the license costs have been paid.
  2048.             
  2049.                     All  rights not expressly granted in this agreement are
  2050.             reserved by OMNICODE.
  2051.             
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.                                      B1
  2082.             Twin Express                                       User's Guide
  2083.  
  2084.  
  2085.  
  2086.             
  2087.                                 DISTRIBUTION STATEMENT
  2088.             
  2089.             
  2090.                     For  the  purposes  of  this  distribution statement, a
  2091.             distributor   is  any  person,  organization,  club,  group  or
  2092.             company  making  the Twin Express package available to somebody
  2093.             else.
  2094.             
  2095.                     Permission  is  hereby  granted  to  any distributor to
  2096.             copy,  distribute,  or  store  this  package  in  a library, an
  2097.             information  system  or  a bulletin board system as long as all
  2098.             the following rules are respected:
  2099.             
  2100.               1.  The package may not be sold or leased out.
  2101.             
  2102.               2.  The  package  may  not  be bound, attached or linked to a
  2103.                   salable  product.  In particular, it may not be installed
  2104.                   on  the hard disk of a computer being sold or distributed
  2105.                   with any commercial product.
  2106.             
  2107.               3.  Notwithstanding  rule  2,  a  distributor  may  charge  a
  2108.                   reasonable  fee  to  cover  the cost of a diskette and/or
  2109.                   mailing and/or handling and/or connect time.
  2110.             
  2111.               4.  The  package  may not be distributed via a disk magazine.
  2112.                   For  the purposes of this rule, a disk magazine is either
  2113.                   a  magazine  normally sold with an accompanying disk or a
  2114.                   simple  advertising  cover  containing a disk. These disk
  2115.                   magazines  are  usually  found  in  bookstores with other
  2116.                   computer magazines.
  2117.             
  2118.               5.  Notwithstanding  rules  2  and  4,  the  publisher  of  a
  2119.                   standard  magazine  may  offer, as a separate service, to
  2120.                   send  a copy of this package to its readers or to make it
  2121.                   available  for  downloads. For the purposes of this rule,
  2122.                   a  standard  magazine  is  a  magazine  sold  without  an
  2123.                   accompanying disk.
  2124.             
  2125.               6.  Distribution  of  a printed copy of the documentation, in
  2126.                   whole or in part, is prohibited.
  2127.             
  2128.               7.  With  one  exception,  the  package  may not be modified.
  2129.                   That  is,  the  files  included in the package may not be
  2130.                   modified,  substituted,  deleted  or  mixed with files of
  2131.                   other  software.  However,  the distributor may add files
  2132.                   describing its distribution service to the package.
  2133.             
  2134.               8.  All  the  files  included  in the package must be distri-
  2135.                   buted  together.  The package shall be distributed via an
  2136.                   archive  file  (library  format)  or  as  files stored in
  2137.                   their own directory.
  2138.             
  2139.               9.  A  distribution  diskette  may have many archive files or
  2140.  
  2141.  
  2142.                                      C1
  2143.             Twin Express                                       User's Guide
  2144.  
  2145.  
  2146.  
  2147.                   directories  containing  other shareware or public domain
  2148.                   software.
  2149.             
  2150.               10. The  distributor  may  not distribute the package as free
  2151.                   software  or  public  domain software. Whenever possible,
  2152.                   the  distributor  shall  indicate  that  the  package  is
  2153.                   shareware software.
  2154.             
  2155.               11. The  distributor  agrees  to  stop  distribution  of this
  2156.                   package as soon as notified by OMNICODE.
  2157.             
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.                                      C2
  2204.             Twin Express                                       User's Guide
  2205.  
  2206.  
  2207.  
  2208.             
  2209.                                   PROBLEM REPORT FORM
  2210.             
  2211.             
  2212.             DATE           ________________________________________________
  2213.             NAME           ________________________________________________
  2214.             COMPANY        ________________________________________________
  2215.             ADDRESS        ________________________________________________
  2216.                            ________________________________________________
  2217.                            ________________________________________________
  2218.                            Country ___________ Zip code  __________________
  2219.             TEL            ___________________ FAX       __________________
  2220.             REGISTRATION # ___________________ (required for a reply...)   
  2221.             
  2222.             
  2223.             PRODUCT        Twin Express_______ RELEASE   __________________
  2224.             
  2225.             
  2226.             COMPUTER BRAND _______________ OPERATING SYSTEM _______________
  2227.             CPU TYPE       _______________ RELEASE          _______________
  2228.             CPU CLOCK      _______________ FLOPPY DISK TYPE _______________
  2229.             
  2230.             
  2231.             PROBLEMS,      ________________________________________________
  2232.             ENHANCEMENTS,  ________________________________________________
  2233.             SUGGESTIONS,   ________________________________________________
  2234.             REQUESTS...    ________________________________________________
  2235.                            ________________________________________________
  2236.                            ________________________________________________
  2237.                            ________________________________________________
  2238.                            ________________________________________________
  2239.                            ________________________________________________
  2240.                            ________________________________________________
  2241.                            ________________________________________________
  2242.                            ________________________________________________
  2243.                            ________________________________________________
  2244.                            ________________________________________________
  2245.             
  2246.             Note: if possible, indicate how to reproduce the problem.
  2247.             
  2248.             Send to OMNICODE
  2249.                     P.O. Box 128 Ahuntsic
  2250.                     Montréal [Québec]
  2251.                     CANADA H3L 3N7                 FAX: (514)385-6455
  2252.             
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.                                      D1
  2265.             Twin Express                                       User's Guide
  2266.  
  2267.  
  2268.  
  2269.             
  2270.                               REGISTRATION AND ORDER FORM
  2271.             
  2272.             
  2273.             DATE           ________________________________________________
  2274.             NAME           ________________________________________________
  2275.             COMPANY        ________________________________________________
  2276.             ADDRESS        ________________________________________________
  2277.                            ________________________________________________
  2278.                            ________________________________________________
  2279.                            Country ____________ Zip code  _________________
  2280.             TEL            ____________________ FAX       _________________
  2281.             REGISTRATION # ____________________ (required for items 2 - 3) 
  2282.             
  2283.             COMPUTER BRAND _______________ OPERATING SYSTEM _______________
  2284.             CPU TYPE       _______________ RELEASE          _______________
  2285.             CPU CLOCK      _______________ FLOPPY DISK TYPE _______________
  2286.             
  2287.             COMPUTER BRAND _______________ OPERATING SYSTEM _______________
  2288.             CPU TYPE       _______________ RELEASE          _______________
  2289.             CPU CLOCK      _______________ FLOPPY DISK TYPE _______________
  2290.             
  2291.             HOW DID YOU GET A COPY OF TWIN EXPRESS (a-g) ?  _______________
  2292.               a) Friend                         Name & address of d,e,f,g
  2293.               b) Office                         ___________________________
  2294.               c) Information system (e.g. BIX)  ___________________________
  2295.               d) Bulletin Board System (BBS)    ___________________________
  2296.               e) Users group - club             ___________________________
  2297.               f) Shareware distributor          ___________________________
  2298.               g) Other ________________________ ___________________________
  2299.             
  2300.             EXPECTED USAGE OF TWIN EXPRESS:
  2301.             _______________________________________________________________
  2302.             _______________________________________________________________
  2303.             _______________________________________________________________
  2304.             _______________________________________________________________
  2305.             _______________________________________________________________
  2306.             
  2307.             YOUR COMMENTS ABOUT TWIN EXPRESS:
  2308.             _______________________________________________________________
  2309.             _______________________________________________________________
  2310.             _______________________________________________________________
  2311.             _______________________________________________________________
  2312.             _______________________________________________________________
  2313.             
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.                                      E1
  2326.         Twin Express                                       User's Guide
  2327.  
  2328.  
  2329.  
  2330.             
  2331.             QTY                    PRODUCT                          PRICE  
  2332.             
  2333.             ___ Registration for 2 computers             (30.00 $) ________
  2334.                   (includes 1 manual and 2 diskettes)
  2335.             
  2336.             ___ Extra license for 1 computer             (10.00 $) ________
  2337.             
  2338.             ___ Extra manual                              (9.00 $) ________
  2339.             
  2340.             ___ Latest update diskettes                   (7.00 $) ________
  2341.             
  2342.                                                             Total: ________
  2343.             
  2344.             
  2345.             
  2346.             
  2347.             
  2348.             
  2349.             All prices are in Canadian dollars.
  2350.             Prices are subject to change without notice.
  2351.             Prices include Canadian taxes where applicable.
  2352.             Use a money order or a check drawn on a Canadian bank.
  2353.             
  2354.             
  2355.             
  2356.             
  2357.             
  2358.             
  2359.             Send to OMNICODE
  2360.                     P.O. Box 128 Ahuntsic
  2361.                     Montréal [Québec]
  2362.                     CANADA H3L 3N7
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.                                      E2
  2387.